<%@ page pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<title>启动流程 </title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<link rel="stylesheet" type="text/css" media="all"
	href="/sasis/styles/css.css" />
<script type="text/JavaScript">
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body>

<html:form action="vipTask" method="post" styleId="vipTaskForm">
<html:hidden property="id"/>
<input type="hidden" name="ary"/>
        <html:hidden property="taskId"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="31" class="titlebgcolor"><table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="11">&nbsp;</td>
            <td width="26"><img src="images/edit.gif" width="22" height="22" /></td>
            <td>启动流程</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="left" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tr>
        <td align="left">&nbsp;</td>
        <td align="left">&nbsp;</td>
        </tr>
      <tr>
        <td width="63" align="left" class="font-searchB">提示区</td>
        <td align="left" class="black12"> 带<span class="red">*</span>标志的选项为必填项。</td>
        </tr>

      <tr>
        <td align="left" valign="top">&nbsp;</td>
        <td align="left">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td align="left" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="left" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" align="left" background="images/list_title_bg.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td align="center" valign="bottom">
                <input type="button" name="select" value="选择高端旅客" onclick="doSelectVip()" class="textarea"/>
                 <input type="button"  onclick="doMultiSel()" class="textarea" value="启动">
		            
              </tr>
            </table></td>
            <td width="6" align="right" valign="top"><img src="images/list_title_right.jpg" width="6" height="30" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="left" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" >
          <tr>
            <td width="100%" align="left" valign="top" class="list_area_bg"><table width="100%" border="0" cellspacing="0" cellpadding="0" >

              <tr>
                <td width="1%" align="left" valign="top">&nbsp;</td>
                <td width="100%" align="left" valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" >
                 
                  <tr>
                    <td height="25" class="edit-title" valign="top">高端旅客申报单：</td>
					<td>&nbsp;</td>
                    <td align="left" class="brown33">
                     <html:select property="requestId" size="5" style="width:150px" multiple="true">
		        </html:select>
                    </td>
				  </tr>
                  


            </table></td>
            <td width="6" align="left" valign="top" background="images/list_area_right.jpg">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="left" valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="4" align="left" valign="top"><img src="images/list_bottom_left.jpg" width="4" height="8" /></td>
            <td align="left" valign="top"><img src="images/list_bottom_middle.jpg" width="100%" height="8" /></td>
            <td width="6" align="right" valign="top"><img src="images/list_bottom_right.jpg" width="6" height="8" /></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</html:form>
</body>
</html>

 
<script>
		function doMultiSel(){ 
			var elt = document.forms[0].requestId;
			var ary = new Array();
			var len = elt.length
		if(0==len){
			alert("请选择高端用户!");
			return;
		}
			
			//alert(elt.selectedIndex);
			for(i=0;i<len;i++){
				ary.push(elt.options[i].value);
			}
			document.forms[0].ary.value=ary;
			document.forms[0].method="post";
			document.forms[0].action="./vipTask.html?method=save";
			document.forms[0].submit();
		}
		
		function doSelectVip(){
			window.open("./highRequest.html?method=select","","");
		}
</script>

